package com.wzdigit.wms.basic.domain.basic;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.KeySequence;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.wzdigit.framework.orm.model.BasicDomain;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 用户信息授权数据表
 * </p>
 *
 * @author 
 * @since 2020-12-28
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("BASIC_USER_DATA_PERMISSION")
@KeySequence(value = "BASIC_USER_DATA_PERMISSION_SEQ", clazz = Integer.class)
public class UserDataPermission extends BasicDomain {
	
	private static final long serialVersionUID = 6313584192456669510L;

	/**
	 * 用户数据权限ID
	 */
	@TableId(value = "USER_DATA_PERMISSION_ID", type = IdType.INPUT)
	private Integer userDataPermissionId;

	/**
	 * 用户ID
	 */
	@TableField("USER_ID")
    private Integer userId;

	/**
	 * 权限属性
	 */
	@TableField("ATTR")
    private String attr;

	/**
	 * 权限值
	 */
	@TableField("VALUE")
    private String value;

	/**
	 * 状态
	 */
	@TableField("STATUS")
    private Integer status;
}